package com.gss.armory.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "ARMORY_MASTER_DETAILS_WF")
public class MasterDetailsForDMSWFDTO implements Serializable{
	public enum attributes{
		Type,Location,Department
	}
	
	private attributes masterAttribute;
	private boolean masterAttributeStatus;
	
	@Id
	@Column(name="AMD_ATTRIBUTE")
	@Enumerated(value=EnumType.STRING)
	public attributes getMasterAttribute() {
		return masterAttribute;
	}
	
	@Id
	@Column(name="AMD_ATTR_STATUS")
	public boolean isMasterAttributeStatus() {
		return masterAttributeStatus;
	}
		
	public void setMasterAttributeStatus(boolean masterAttributeStatus) {
		this.masterAttributeStatus = masterAttributeStatus;
	}

	
	public void setMasterAttribute(attributes masterAttribute) {
		this.masterAttribute = masterAttribute;
	}
	
	
	
	
	
	
}
